IMotion.SetAxisControlMode method

Sets a control mode of an axis at run time. The control mode must be compatible with the current access mode. Not all axes support control mode changes at run time.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsCommandStatus SetAxisControlMode(
       int Index,
       McControlMode ControlMode
)
Function SetAxisControlMode(
       Index As Integer,
       ControlMode As McControlMode
) As KsCommandStatus

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

ControlMode

Type: McControlMode

A control mode for an axis.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Remarks

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace